package y24.m5.sql;

import y24.m5.sql.data.Student;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public class Main {
    public static void main(String[] args) throws SQLException {
        Connection connection = new Mysql().getConnection("root","123456","test");
        List<Student> students = new StudetMapper().showStudent(connection);
        System.out.println(students);

    }
}
